Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

PoC: https://github.com/ariga/atlas/issues/3006 #1

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mpyw
Copy link
Member

@mpyw mpyw commented Jul 30, 2024

PoC: ariga/atlas#3006
cd0f1ac yields wrong DDL.

Comment on lines +1 to +2
-- Rename an index from "posts_user_id_key" to "posts_user_id_idx"
ALTER INDEX "posts_user_id_key" RENAME TO "posts_user_id_idx";
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the bug of ariga/atlas#3006

Suggested change
-- Rename an index from "posts_user_id_key" to "posts_user_id_idx"
ALTER INDEX "posts_user_id_key" RENAME TO "posts_user_id_idx";
-- Rename an index from "posts_user_id_key" to "posts_user_id_idx"
ALTER INDEX "app"."posts_user_id_key" RENAME TO "posts_user_id_idx";

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant